

package com.hazelcast.config;

import com.hazelcast.internal.diagnostics.Diagnostics;

/**
 * Defines the output type for Hazelcast diagnostics.
 *
 * @since 6.0
 */
public enum DiagnosticsOutputType {

    /**
     * Outputs the diagnostics to a set of files managed by Hazelcast.
     *
     * @since 6.0
     */
    FILE,

    /**
     * Outputs the diagnostics to the "standard" output stream as determined by
     * {@link System#out}.
     *
     * @since 6.0
     */
    STDOUT,

    /**
     * Outputs the diagnostics to the Hazelcast logger. You may then use your
     * logging configuration to forward the diagnostics to any output supported
     * by the logging framework. You may also want to use some additional configuration
     * to control how the output format.
     * Using the logging framework introduces a slight overhead in comparison
     * to using other output types but allows for greater flexibility.
     *
     * @see com.hazelcast.spi.properties.ClusterProperty#LOGGING_ENABLE_DETAILS
     * @see Diagnostics#INCLUDE_EPOCH_TIME
     * @since 6.0
     */
    LOGGER;
}
